//package com.example.demo.controller;
//
//import com.alibaba.fastjson.JSONObject;
//import com.alibaba.nacos.api.config.annotation.NacosValue;
//import com.example.demo.dto.Demo;
//import com.example.demo.dto.Test;
//import com.example.demo.dto.Test1;
//import com.example.demo.dto.ThreadPoolUtil;
//import com.example.demo.res.Result;
//import com.fasterxml.jackson.databind.util.JSONPObject;
//import org.omg.PortableInterceptor.INACTIVE;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.web.bind.annotation.*;
//
//import javax.sound.midi.Soundbank;
//import javax.validation.Valid;
//import java.util.*;
//import java.util.concurrent.ThreadPoolExecutor;
//import java.util.function.Function;
//import java.util.stream.Collectors;
//
//@RestController
//@RequestMapping("/test")
//public class TestController {
////
////    @Value("${liukunyu.nb}")
////    private String uri;
//    @Value("${liukunyu.nb}")
//    private String port;
//
//    @RequestMapping("/demo")
//    public JSONObject get() {
//
//        System.out.println(port);
//        return new JSONObject();
//    }
////
////    public static void main(String[] args) {
////        List<Demo> list = new ArrayList<>();
////        Boolean aBoolean = Optional.ofNullable(list).map(demos -> true).orElse(false);
////    }
//}
